From fb66f86a4cc4416ce62e31703d5fdb386ead179b Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Thu, 30 Nov 2006 15:57:47 -0700 Subject: [PATCH] [IA64] HVM domains need to trigger do_softirq for PAL_HALT_LIGHT too call do_softirq() to enter scheduler when VTI does PAL_HALT_LIGHT, like xen-ia64-unstable.hg changeset: 12520:bcd2960d6dfd018de58fc0113c37d30edbe802c5 Signed-off-by: Zhang Xin --- xen/arch/ia64/xen/fw_emul.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xen/arch/ia64/xen/fw_emul.c b/xen/arch/ia64/xen/fw_emul.c index f5eb0c7682..6dc9ea4f8a 100644 --- a/xen/arch/ia64/xen/fw_emul.c +++ b/xen/arch/ia64/xen/fw_emul.c @@ -32,6 +32,7 @@ #include #include #include +#include static DEFINE_SPINLOCK(efi_time_services_lock); @@ -611,8 +612,10 @@ xen_pal_emulator(unsigned long index, u64 in1, u64 in2, u64 in3) case PAL_HALT_LIGHT: if (VMX_DOMAIN(current)) { /* Called by VTI. */ - if (!is_unmasked_irq(current)) + if (!is_unmasked_irq(current)) { do_sched_op_compat(SCHEDOP_block, 0); + do_softirq(); + } status = PAL_STATUS_SUCCESS; } break; -- 2.30.2